import 'package:auto_route/auto_route.dart';
import 'package:linux_do/routes/AppRoutes.gr.dart';

@AutoRouterConfig(replaceInRouteName: '')
class AppRouter extends RootStackRouter {
  @override
  List<AutoRoute> get routes => [
        AutoRoute(path: '/', page: HomePageRoute.page, children: [
          AutoRoute(path: '', page: DefaultContentPageRoute.page),
          AutoRoute(path: 'detail', page: TopicContentPageRoute.page),
        ]),
      ];
}
